package org.example.mybatisdemo2.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.mybatisdemo2.model.UserInfo;

import java.util.List;

@Mapper
public interface UserInfoXMLMapper {
    List<UserInfo> quryUserInfos();

    List<UserInfo> quryUserInfos2();

    Integer insertUserInfo(UserInfo userInfo);

    Integer updateUserInfo(UserInfo userInfo);

    Integer deleteUserInfo(Integer id);

    Integer insertByCondition(UserInfo userInfo);

    List<UserInfo> selectByCondition(UserInfo userInfo);

    List<UserInfo> updateByCondition(UserInfo userInfo);
}
